﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WebVideo.Areas.Admin.Controllers
{
    public class ListQuestionMutiOfUserController : Controller
    {
        //
        // GET: /Admin/ListQuestionMutiOfUser/

        public ActionResult Index(int IdQues)
        {
            dbVideoDataContext db = new dbVideoDataContext();

            var query = db.EntityListQuestionMutiOfUsers.Where(g => g.IdQuestion == IdQues).OrderByDescending(g=>g.Date).ToList();

            return View(query);
        }

    }
}
